﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EF.Caching.Impl
{
    /// <summary>
    /// Implémentation de test d'un service de cache ne faisant AUCUN cache.
    /// </summary>
    public class NoCache : IPerRequestCache
    {
        #region ICache Members

        public object this[string key]
        {
            get { return null; }
            set { } // DO NOTHING
        }

        public bool Contains(string key)
        {
            return false;
        }

        #endregion
    }
}
